package zigzag.designpattern.composite;

public class Leaf extends Tree {

	public Leaf(String name){
		this.name = name;
	}
	public void add(Tree t) {
		return;

	}

	public void printAll() {
		System.out.println(name);
	}
	
	public void remove(Tree t) {
		return;
	}

}
